package com.wnxy.sdd.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.sdd.front.entity.Course;
import com.wnxy.sdd.front.vo.CourseVo;
import com.wnxy.sdd.front.vo.IndexCourseQueryVo;

import java.util.List;

public interface ICourseService extends IService<Course> {
    /**
     * 新课上线
     */
    List<IndexCourseQueryVo> queryNewCourse(int num);

    List<IndexCourseQueryVo> queryPage(int current, int size, String subjectId);

    CourseVo queryCourseVoById(String id);

    List<CourseVo> findCourseByBuyCount(int i);
}
